package com.gopay.common.core.dic.dao;

import java.io.Serializable;
import java.util.List;

import com.gopay.common.base.dao.BaseDAO;
import com.gopay.common.constants.dic.SchemaCode;
import com.gopay.common.domain.acps.AcpsSchemaAcctRel;
import com.gopay.common.domain.cbrmb.CbRmbAcpsSchemaAcctRel;

/**
 * 
 * CbRmbAcpsSchemaAcctRelQueryDAO.java
 * @author qld
 * @2016-11-02 下午3:20:16  www.gopay.com.cn Inc.All rights reserved.
 */
public interface CbRmbAcpsSchemaAcctRelQueryDAO extends BaseDAO<CbRmbAcpsSchemaAcctRel, Serializable> {
    
    /**
     * 查询内部帐
     * @param schemaCode
     * @param gopayIntTxnCd
     * @return
     */
    String getInnerAcct(SchemaCode schemaCode, String gopayIntTxnCd);
    
    /**
     * 查询当前交易下所有内部账号
     * @param gopayIntTxnCd
     * @return
     */
    List<CbRmbAcpsSchemaAcctRel> getInnerAccts(String gopayIntTxnCd);
}
